package task4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-06-14
 * Time:14:42
 */
public class Test {
    public static void main(String[] args) {
        Grain grain=new Grain("小麦",2.0);
        Vegetable vegetable=new Vegetable("卷心菜",5.0);
        FoodPackage foodPackage=new FoodPackage("金龙鱼",vegetable,grain);
        foodPackage.showMessage();
    }
}
